
public class OverrideExample {
	
	// Override example 
	@Override
	public String toString() {
		return "This method has been overrided!";
	}
	
	
//	@Override
//	public void myMethod() {
//		
//	}
	
	public static void main(String[] args) {
		OverrideExample a = new OverrideExample();
		System.out.println(a.toString());
		
	}

}
